<template>
    <div class="contentBox animated fadeIn" :style="{height:winHeight}">
        <img src="../../static/image/page2.jpg" alt="">
        <div class="formBox">
            <h3>2.两个旅游方案，你更偏好：</h3>
             <ul class="btnList">
               <li v-for="item in btnList">
                    <a :val="item.val" @click.stop="gotoNext">{{item.name}}</a>
                </li>
            </ul>
        </div>
    </div>
</template>
<script>
import router from '../router/index'
    import buttons from '../Modular/buttons'
    export default {
        name: "component_name",
        data() {
            return {
                btnTitle: '下一步',
                winHeight:$(window).innerHeight()+ 'px',
                   btnList:[
                    {name:'选择冒险',val:'1'},
                    {name:'安全第一',val:'2'}
                ]
            };
        },
        components: {
            buttons
        },
        methods: {
              gotoNext: function() {
                router.push({
                    name: 'page3'
                })
            }
        }
    };
</script>
<style lang="css" scoped>

</style>